package ru.nsu.fit.iconveyor.conveyor.node;

/**
 * @author Timur Zolotuhin (tzolotuhin@gmail.com)
 */
public class Bundle {
    private final Object data;
    private final Class<?> dataClass;

    public Bundle(Object data, Class<?> dataClass) {
        this.data = data;
        this.dataClass = dataClass;
    }

    public Object getData() {
        return data;
    }

    public Class<?> getDataClass() {
        return dataClass;
    }
}
